package com.xiaoyu;

import com.xiaoyu.model.Class;
import com.xiaoyu.model.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassDao {
    public List<Class> findClass(Class aClass);
    public Integer addClass(Class aClass);
    public Integer deleteClass(Class aClass);
    public Integer updateClass(Class aClass);

    public Class findOneClass(Class aClass);

    public List<Class> findSomeClass(Teacher t);

    List<Class> allInfo();
}
